﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IOModule
{
    public class InputStatus
    {
        public InputStatus(IOInputItem iInputItem) 
        {
            inputItem = iInputItem;
            InputName = iInputItem.strName;
            Remark = iInputItem.strRemark;
            Status = iInputItem.ON;
        }
        public string InputName{ get;set; }
        [ReadOnly(true)]
        public bool Status { get; set; }
        public string Remark{ get; set; }
        IOInputItem inputItem;
        public void  RefreshStatus()
        {
            Status = inputItem.ON;
        }
    }
}
